package io.seata.samples.sc.tccat.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 分布式事务 TCC 应用，服务消费者
 *
 * @author lenovo
 */
@EnableFeignClients(basePackages = {"io.seata.samples.sc.tccat.consumer.feign"})
@EnableDiscoveryClient
@SpringBootApplication
public class ScTccAtConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ScTccAtConsumerApplication.class, args);
    }
}

